<?php

class data_m_user extends a_base_model_datamapper {

    public function __construct($id=null) {
        $this->table = 'user_data';
        $this->has_one = array(
        );
        $this->has_one['user_m_user'] = array(
            'class' => 'user_m_user',
            'join_other_as' => 'user',
            'join_self_as' => 'data'
        );
        parent::__construct($id);
    }

}
?>